using CxRomos.Core.Domain.Entities;
using FluentNHibernate.Mapping;

namespace CxRomos.Core.Domain.Mappings {
    public class TermsMap : ClassMap<Term> {
        public TermsMap() {
            Table("dbo.Terms");

            Id(x => x.TermId).GeneratedBy.Native();

            Map(x => x.Terms, "Terms").Nullable();
            Map(x => x.CreateDate).Nullable();
        }
    }
}